/* 
 * File:   File.h
 */

#ifndef FILE_H
#define	FILE_H

#include <string>
#include "MyDate.h"
#include "ActionsWithFiles.h"

using std::string;


class File {

public:
    string name; // just name of the file
    bool if_archive; // files is archive if true
    bool if_synch; // file if archive and we use it for synchronizing directory
    string full_local_path; // path of the file on the computer
    string path_only;
    vmime::ref<vmime::net::message> message; // if file is remote, there is a message conneted with it
    int number_in_folder;  // if file is remote, it is situated in some folder. this parameter is number in the folder
    MyDate date; // date of last modification
    enum ActionWithFile action; // actions with this file we have to do. like pattren command
    bool if_remote; // if "true", file is remote
    string synch_name;

    File() :
    if_archive(false),
    if_synch(false),
    action(NOTHING) {
    };

};


#endif	/* FILE_H */

